package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

/**
 * @author ：zfr
 * @date ：2022/3/24 14:16
 */
@FieldTypeAnnotation(tableName = "t_l_ck_wingroom_lv_up", desc = "厢房等级变更日志", autoSave = true, uploadCk = true)
public class LogWingRoomLvUp extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "舒适度值")
    private long comfortValue;
    @FieldTypeAnnotation(desc = "升级前等级")
    private int beforeLv;
    @FieldTypeAnnotation(desc = "升级后等级")
    private int afterLv;

    public LogWingRoomLvUp(long userId, long comfortValue, int beforeLv, int afterLv) {
        this.userId = userId;
        this.comfortValue = comfortValue;
        this.beforeLv = beforeLv;
        this.afterLv = afterLv;
    }

    public long getUserId() {
        return userId;
    }

}
